package cn;

public class T8 {

    public final static int AGEA = 18;

    {
        System.out.println("初始化块1");
    }

    static {
        System.out.println("静态程序块1");
        System.out.println("静态程序块2");
        System.out.println("静态程序块3");

    }

    public T8() {
        System.out.println("T8()");
    }

    public T8(int a) {
        System.out.println("T8(int a)");
    }

    {
        System.out.println("初始化块2");
    }

    public static void main(String[] args) {

        //System.out.println("main()");
    }

    public static void main(int a, int b) {

        System.out.printf("%d + %d = %d", a, b, a + b);
    }

    static int pf(int i) {
        return i * i;
    }

}
